package top.linyuxb.lycloud.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/7/9 23:30
 * @Desc:
 */
@EnableAsync
@EnableJpaAuditing
@SpringBootApplication
@EnableJpaRepositories(basePackages = {"top.linyuxb.lycloud.admin.repository"})
@EntityScan(basePackages = "top.linyuxb.lycloud.admin.entity")
public class LyCloudAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(LyCloudAdminApplication.class, args);
    }
}
